package com.example.usage.ioc.bean.car;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author jiangzhe
 * @create 2021/9/2 15:11
 */
@Data
@Component
public class Car {
    @Value("鄂A21133")
    private String id;
    @Value("12")
    private int price;
}
